package py.edu.ucom.c417.cadira.panel;

import py.edu.ucom.c417.cadira.tablero.TableroView;
import android.content.Context;
import android.graphics.Rect;
import android.graphics.RectF;
import android.util.Log;
import android.view.View;

public class ContentMainView extends View {
	private TableroView tableroView;
	private PanelFichaView panelFichaView;


	public ContentMainView(Context context) {
		super(context);
		new RectF();
		this.tableroView = new TableroView(context);
		this.panelFichaView = new PanelFichaView(context);

	}

	public TableroView getTableroView() {
		return tableroView;
	}

	public void setTableroView(TableroView tableroView) {
		this.tableroView = tableroView;
	}

	public PanelFichaView getPanelFichaView() {
		return panelFichaView;
	}

	public void setPanelFichaView(PanelFichaView panelFichaView) {
		this.panelFichaView = panelFichaView;
	}


	public static void imprimirRectF(RectF rf){
		Log.d("LEFT", String.valueOf(rf.left));
		Log.d("TOP", String.valueOf(rf.top));
		Log.d("BOTTOM", String.valueOf(rf.bottom));
		Log.d("RIGHT", String.valueOf(rf.right));
		
	}
	
	
	public static void imprimirRect(Rect rf){
		Log.d("LEFT", String.valueOf(rf.left));
		Log.d("TOP", String.valueOf(rf.top));
		Log.d("BOTTOM", String.valueOf(rf.bottom));
		Log.d("RIGHT", String.valueOf(rf.right));
		
	} 
	
	public static void imprimirCoordenadas(int x, int y){
		Log.d("X", String.valueOf(x));
		Log.d("Y", String.valueOf(y));
	}
	
	
	
	
	
	
	
}
